<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.carcenter.service.UserinfoService"%>
<%@page import="com.carcenter.pojo.CarUserinfo"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"
			href="/carcenter/css/style_new.css" />
	</head>

	<body>
		<div class="languages_box">
		</div>
		<div class="currency">
		</div>
	
		<div class="cart">
			<div class="title">
				<span class="title_icon"><img
						src="/carcenter/images/cart.gif" alt="" title="" /> </span>尊敬的:
			</div>
	<%
	
	Integer currUserId = (Integer)session.getAttribute("uid");
	UserinfoService userinfoService = new UserinfoService();
	CarUserinfo currUser = userinfoService.getUserById(currUserId);
	if(currUser != null){
	
	%>
			<div class="home_cart_content">
				<%if("Y".equals(currUser.getIsvip())){ %>VIP |<%} %>
				<span class="red"><%=currUser.getUsername() %></span>
			</div>
			<div class="home_cart_content">
				<span class="red"><a href="detailUser.action"><%=currUser.getRealname() %></a>
				</span>
			</div>
			<%} %>
		</div>
	</body>
</html>
